import React from 'react';
import useReporterModel from './reporterModel';
import SchoolDataReport from '../../component/schoolDataReport/schoolDataReport';


const Reporter = () => {

  const Model = useReporterModel();

  return (
    <div>{Model.state.list.map(school =>
      <SchoolDataReport data={school}/>
    )}</div>
  );
};

export default Reporter;